<? $columnDefinition = $form_field->getColDefinition(); ?>
<li class="field <?= $form_field->formSide ?> <?= $this->form_preview_mode ? 'preview' : null ?> <?= $columnDefinition->isReference ? 'reference' : null ?> <?= $columnDefinition->isReference && $form_field->previewNoRelation ? 'previewNoRelation' : null ?>">
	<label>
		Archive file
	</label>

	<div class="preview <?= $columnDefinition->type ?>">
		<? if (file_exists($form_model->path)): ?>
			<a href="<?= url('/system/backup/get/'.$form_model->id.'/'.basename($form_model->path)) ?>"><?= h($form_model->displayField($form_field->dbName)) ?></a>
		<? else: ?>
			<?= h($form_model->path) ?><br/>
			(file doesn't exist)
		<? endif ?>

		<div class="lt"></div>
		<div class="rt"></div>
		<div class="rb"></div>
		<div class="lb"></div>
	</div>
</li>